Repository navigation
fix(agent-backup): isolate same-second snapshot directories (#3340) - #4399
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 40 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
agent-note:v1 — holder: repo-worker-code (OpenChamber scheduled lane), at 2026-11-02T15:06:17Z. event: implementation_complete; task: 5943; queue: repo-health-code-pilot. Branch queue/5943-3340-agentbackup-snapshot-uniq at b974eb6 + origin/main merge 2ab643e. Targeted shell regression and shellcheck pass; awaiting CI. |
Summary
Evidence
$ROOT/$STAMP; the second copied into and couldrm -rfthe first run's snapshot, leavinglatestdangling (issue probe).After:
bash pkgs/agent-backup/test-backup.sh— PASS (same-second pair keeps both snapshots,latestresolves; no-change run removes only its own dir).bash -n,shellcheck --exclude=SC2250,SC2292, andgit diff --check origin/main...HEADall pass.Merge Danger
Door: two-way (backup-script-only change, no consumers; revert restores old naming).
Blast Radius: single-script
Only
pkgs/agent-backup/backup.shbehavior changes (snapshot dir naming under collision); normal single-run behavior is unchanged.Need help on this PR? Tag
@codesmith-botwith what you need.